import java.awt.Dimension;
import java.awt.EventQueue;

import javax.swing.JFrame;


public class UIFrame extends JFrame {
	private static final long serialVersionUID = 396570806584629763L;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			@Override
			public void run() {
				try {
					UIFrame frame = new UIFrame();
					
					frame.add(new LoginPanel(frame));
					frame.setPreferredSize(new Dimension(430, 350));
					frame.setMinimumSize(frame.getPreferredSize());
					frame.setResizable(false);
					frame.pack();
					
					frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the frame.
	 */
	public UIFrame() {
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setBounds(100, 100, 415, 286);
	}
}
